.not-found {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    position: relative;
    color: white;
    padding: 0 5%;
}

.not-found-content {
    width: 50%;
    padding-right: 40px;
    animation: fadeIn 0.8s ease-out;
    z-index: 10;
}

.error-code {
    font-size: 12rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.error-message {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.error-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.home-button {
    padding: 10px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    background: white;
    color: var(--color-primary);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.home-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.error-illustration {
    width: 50%;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.2), 0 0 80px rgba(255, 255, 255, 0.1);
    animation: rotate 50s linear infinite;
}

.astronaut {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

.astronaut-body {
    width: 100px;
    height: 160px;
    background: white;
    border-radius: 50px;
    position: relative;
}

.astronaut-helmet {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 10px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.astronaut-shadow {
    width: 80px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    position: absolute;
    bottom: -30px;
    left: 10px;
    filter: blur(5px);
    animation: shadow 6s ease-in-out infinite;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, white, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -60%);
    }
}

@keyframes shadow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .not-found {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .not-found-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
        order: 2;
    }
    
    .error-illustration {
        width: 100%;
        height: 300px;
        order: 1;
        margin-bottom: 30px;
    }
    
    .error-code {
        font-size: 8rem;
    }
    
    .error-message {
        font-size: 2rem;
    }
    
    .planet {
        width: 200px;
        height: 200px;
    }
    
    .astronaut-body {
        width: 70px;
        height: 110px;
    }
    
    .astronaut-helmet {
        width: 60px;
        height: 60px;
        top: -30px;
        left: 5px;
    }
}
